package com.ruoyi.common.core.domain.inspectionItem;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 检测检验项目对象 inspection_item
 * 
 * @author ruoyi
 * @date 2023-10-17
 */
@ApiModel("检测检验项目对象")
public class InspectionItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 父级标准 */
    @Excel(name = "父级标准")
    @ApiModelProperty(value = "父级标准id")
    private String pid;

    /** 检测设备类型 */
    @Excel(name = "检测设备类型")
    @ApiModelProperty(value = "检测设备类型")
    private String equType;

    /** 检测设备类型名称 */
    @Excel(name = "检测设备类型")
    @ApiModelProperty(value = "检测设备类型名称")
    private String equTypeName;

    /** 检测项序号排序 */
    @Excel(name = "检测项序号排序")
    @ApiModelProperty(value = "检测项序号排序")
    private String sort;

    /** 检测检验项目名称 */
    @Excel(name = "检测检验项目名称")
    @ApiModelProperty(value = "检测检验项目名称")
    private String name;

    /** 单位 */
    @Excel(name = "单位")
    @ApiModelProperty(value = "单位")
    private String unit;

    /** 标准要求 */
    @Excel(name = "标准要求")
    @ApiModelProperty(value = "标准要求")
    private String standardRequires;

    /** 标准等级 */
    @Excel(name = "标准等级")
    @ApiModelProperty(value = "标准等级")
    private String standardGrade;

    /** 关联依据 */
    @Excel(name = "关联依据")
    @ApiModelProperty(value = "关联依据")
    private String accordingId;

    /**
     * 实测结果
     */
    @ApiModelProperty(value = "实测结果")
    private String shcjg;

    /**
     * 判定结果
     */
    @ApiModelProperty(value = "判定结果")
    private String pdjg;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /** 递归数据 */
    private List<InspectionItem> list;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPid(String pid) 
    {
        this.pid = pid;
    }

    public String getPid() 
    {
        return pid;
    }
    public void setEquType(String equType) 
    {
        this.equType = equType;
    }

    public String getEquType() 
    {
        return equType;
    }
    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setStandardRequires(String standardRequires) 
    {
        this.standardRequires = standardRequires;
    }

    public String getStandardRequires() 
    {
        return standardRequires;
    }
    public void setStandardGrade(String standardGrade) 
    {
        this.standardGrade = standardGrade;
    }

    public String getStandardGrade() 
    {
        return standardGrade;
    }
    public void setAccordingId(String accordingId) 
    {
        this.accordingId = accordingId;
    }

    public String getAccordingId() 
    {
        return accordingId;
    }

    public List<InspectionItem> getList() {
        return list;
    }

    public void setList(List<InspectionItem> list) {
        this.list = list;
    }

    public String getEquTypeName() {
        return equTypeName;
    }

    public void setEquTypeName(String equTypeName) {
        this.equTypeName = equTypeName;
    }

    public String getShcjg() {
        return shcjg;
    }

    public void setShcjg(String shcjg) {
        this.shcjg = shcjg;
    }

    public String getPdjg() {
        return pdjg;
    }

    public void setPdjg(String pdjg) {
        this.pdjg = pdjg;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pid", getPid())
            .append("equType", getEquType())
            .append("sort", getSort())
            .append("name", getName())
            .append("unit", getUnit())
            .append("standardRequires", getStandardRequires())
            .append("standardGrade", getStandardGrade())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("accordingId", getAccordingId())
            .toString();
    }
}
